/**
* desc：Home组件样式表
* author：DestinyJun
* date：2021/3/19 9:29
*/
.flex() {
  display: flex;
  justify-content: center;
  align-content: center;
}
.home{
  height: 100vh;
  width: 100vw;
  background-color: gainsboro;
  .scroll-container{
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    //overflow-y: scroll;
    .scroll-list{
      display: flex;
      height: 500px;
      border: 1px solid red;
      margin-bottom: 50px;
      .img {
        .flex();
        flex: 2;
        img{
          height: 120px;
          width: auto;
        }
      }
      .message{
        .flex();
        flex: 3;
      }
    }
  }
}
